/***********************************************************************
    filename:   DaterBriefEventWindow.h
    created:    10/4/2012
    author:     4Ys

    purpose:    Defines class for Brief Event Window objects in UI
*************************************************************************/
#ifndef _DaterBriefEventWindow_h_
#define _DaterBriefEventWindow_h_

#include "DaterBaseWindow.h"
#include "DaterEvent.h"

#include "CEGUI.h"


class BriefEventWindow : public BaseWindow
{
	/*!
	\brief
		Defines Brief Event Window objects in UI.
	*/
public:
		/* !
		\brief
			Construct the sample of class BriefEventWindow.

		\param id_name
			- a string to represent the prefix of the window.
			
		\param relatedEvent
			- point to Event linked.
			
		\param parent
			- point to parent window.
		*/
	BriefEventWindow(const CEGUI::String& id_name, Dater::Event* relatedEvent, CEGUI::Window* parent = 0);
	
		/*!
			Destructor of class DaterWindow.
		*/
	~BriefEventWindow();

		/* !
		\brief
			a virtual function generated from class BaseWindow to show window.
		*/
	virtual void showWindow();
	
		/* !
		\brief
			a virtual function generated from class BaseWindow to hide window.
		*/
	virtual void hideWindow();
	
private:
		//! A point the event related.
	Dater::Event* _relatedEvent;
};


#endif